package com.yiren.manager.form.pension;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.department.YrSubjectRoomForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrMaterialApplyForm extends GenericForm{

	private static final long serialVersionUID = -3957635172840953796L;

	private String materialApplyId;

	private Integer applyQuantity;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private Integer grantStatus;

	private String materialId;

	private String materialName;

	private String remark;

	private String subjectRoomId;

	private String subjectRoomName;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
 	
 	private String handler;
 	
 	private Date applyDate;
 	
 	private YrMaterialForm materialForm;
 	
 	private YrSubjectRoomForm subjectRoomForm;
 	
	public YrSubjectRoomForm getSubjectRoomForm() {
		return subjectRoomForm;
	}

	public void setSubjectRoomForm(YrSubjectRoomForm subjectRoomForm) {
		this.subjectRoomForm = subjectRoomForm;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public Date getApplyDate() {
		return applyDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public YrMaterialForm getMaterialForm() {
		return materialForm;
	}

	public void setMaterialForm(YrMaterialForm materialForm) {
		this.materialForm = materialForm;
	}

	public String getMaterialApplyId() {
		return materialApplyId;
	}

	public void setMaterialApplyId(String materialApplyId) {
		this.materialApplyId = materialApplyId;
	}

	public Integer getApplyQuantity() {
		return applyQuantity;
	}

	public void setApplyQuantity(Integer applyQuantity) {
		this.applyQuantity = applyQuantity;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getGrantStatus() {
		return grantStatus;
	}

	public void setGrantStatus(Integer grantStatus) {
		this.grantStatus = grantStatus;
	}

	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	public String getMaterialName() {
		return materialName;
	}

	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getSubjectRoomName() {
		return subjectRoomName;
	}

	public void setSubjectRoomName(String subjectRoomName) {
		this.subjectRoomName = subjectRoomName;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
